/* 全体設定 */
* {
    box-sizing: border-box;  /* widthとheightにpaddingとborderを含める */
}
@font-face {
    font-family: 'Font_Chalk';
    src: url('../fonts/Chalk-JP.otf') format('opentype');
}
body {
    margin: 0;
    padding: 0;

    font-family: 'Font_Chalk';
    /* font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; */
    font-size: 100%;

    /* ページ全体の背景色 */
    background-color: #0b2b1c;
    /* テキスト色 */
    color: #ffffff;
}
a {
    color: inherit; /* または希望の色にする */
    text-decoration: none;
}
.slide>a:hover {
    opacity: 0.5;
    transition-duration: .4s;
    transform: scale(1.08);
}
a:hover:not(.comingSoon,.slide>a,.GAMES_images>a,.contents>div>a,.SNS_icons>a) {
    opacity: 0.5;
    transition-duration: .4s;
    transform: scale(1.08);
}
img {
    float: left;
}
.contents>div:not(.PHOTOS) {
    /* コンテンツ直下の見出しに共通する設定 */
    margin-bottom: 1vw;
}
.contents>div>div:not(.P_imageListDown):not(.NEWS_Text):not(.SNS_icons) {
    /* 見出し直下の要素に共通する設定 */
    margin-top: 1vw;
}
h2 {
    font-size: min(3.5vw, 50px);
}

/* ハンバーガーメニュー */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* width: 30vw; */
    width: 80%;
    height: 100%;
    background-color: #ffffff;
    color: #fafad2;
    transition: right 0.3s ease;  /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 100;

    border: 1px solid #444;
}
/* メニューが開いているとき */
.menu.open {
    right: 0;
}
.menu.open .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}
/* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: min(2vw, 20px);
    right: min(4vw, 40vw);
    width: min(6vw, 60vw);
    cursor: pointer;
    z-index: 200;
  }
  .hamburger span {
    display: block;
    height: min(0.6vw, 6vw);
    width: 100%;
    background-color: #ffffff;
    margin: min(1.5vw, 15px) 0;
    transition: 0.4s;
  }

  /* バツ印に変化するスタイル */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

/* コンテンツのぼかしを切り替える用css */
body>div {
    transition: filter 0.5s ease; /* ← ゆっくりぼやけるように調整 */
}
.blurred {
    filter: blur(10px); 
}

  /* メニューリストのスタイル */
  .menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 38vw;
  }
  .menu li {
    padding: min(20vw, 100px) 0;
    border-bottom: 1px solid #444;
  }
  .menu li a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 4.5vw; /* フォントサイズ大き目に */
}
  @media(min-width:500px) and (hover: hover) and (pointer: fine) {
    .menu ul {
        list-style-type: none;
        padding: 0;
        margin-top: 3vh;
    }
    .menu li a {
        color: #333;
        text-decoration: none;
        display: block;
        font-size: min(3.0vh, 30px); /* フォントサイズ大き目に */
    }
  }


/* 失敗跡地・ヘッダー画像のサイズ調整 */
/* .table {
    margin-left: 1vw;
    height: min(80%, 5px);
}
.table:hover {
    opacity: 0.8;
}
.table_img {
    margin: 0;
    padding: 0;
    width: 20%;
}
.table_img img {
    margin: 0;
    padding: 0;
    width: min(12vw, 100px);
}
.table_txt {
    text-decoration: none;
    color: white;
    font-size: max(3vw, 5.5px);
} */

/* ヘッダー画像のサイズ調整・改 */
.header .TGSlogo {
    width: min(10vw, 100px);
    position: absolute;
    /* left: min(14.4vw, 112px); */
    left: min(10vw, 50px);
    top: 50%;
    transform: translate(-50%, -50%);
}
.header {
    position: relative;

    max-height: 180px;
    height: min(12vw, 250px);
    text-align: left;
}
.header .subtitle {
    margin: 0;

    text-decoration: none;
    color: white;
    position: absolute;
    left: min(18vw, 100px);
    top: 50%;
    transform: translate(0, -50%);
    font-size: min(3.5vw, 50px);
    font-weight: lighter;
    line-height: 1.2em;
}


/* トップ画像のサイズ調整 */
.slide_background {
    width: 100%;
    margin-top: 3vw;;
    margin-bottom: 3vw;
    display: block;
}
.slide {
    position: relative;
    height: auto;
}
.slide_background img:hover {
    opacity: 0.8;
}
.slide>div {
    width: 100%;
    text-align: center;
}
.slide_arrow {
    width: 10vw;
    z-index: 50;
    position: absolute;
}
.slide_arrowL {
    top: 15vw;
    left: -2%;
    transform: translate(50%, 50%);
}
.slide_arrowR {
    top: 15vw;
    right: 7%;
    transform: translate(50%, 50%) rotate(180deg);
}
.slide_contents {
    width: 48%;
    z-index: 50;
    position: absolute;
    top: -10vw;
    right: 50%;
    transform: translate(50%, 50%); 
}

/* 見出し調整 */
.contents {
    margin: 0 5vw 0 5vw;
}
.line1 {
    border: none;
    border-top: 1px solid #ccc; /*???*/
    border-top-width: 2px;
    border-top-color: #a06959;
}
.line2 {
    border: none;
    border-top: 1px solid #ccc; /*???*/
    border-top-width: 2px;
    border-top-color: #c6d361;
}

/* GAMES */
.GAMES_images {
    overflow: visible;  /* 親要素にこれを施すと、子要素のfloatの影響を回避できる */

    /* グリッド表示設定 */
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr;  /* 3等分 */
    grid-auto-rows: minmax(20vw, auto);
}
.GAMES_images>a>div {
    /* border: 0.6vw solid #c25740;
    border-radius: 3vw;
    padding: 1.5vw; */

    width: 100%;
    margin-bottom: 1vw;

    display: flex;
    flex-direction: column;
    /**align-items: center;**/
    justify-content: space-between;

    transition: transform 0.3s;
}

/* 画像のスタイル */
.GAMES_images>a>div>img {
    width: 100%;/**画像サイズ**/
    border-radius: 0.5vw;
    display: block;
}
.GAMES_images>a>div>img:hover {
    transition-duration: .4s;
    transform: scale(1.1);
}
/**グリッドの設定**/
.GAMES_imageL{
    grid-column: 1 / 2;
}
.GAMES_imageL>div{
    align-items:baseline;
}
.GAMES_imageR{
    grid-column: 3 / 4;
}
.GAMES_imageR>div{
    align-items: end;
}
/**付箋**/
.GAMES_fusen{
    grid-column: 2 / 3;
    display: grid;
    grid-template-rows: 1fr 1fr;
}
.GAMES_fusen>div>div {
    overflow: hidden;
    display: block;
    font-size: min(2.5vw, 30px);

    background-color: #ffffff;
    box-shadow: 3px 3px 1px #c6d361;
    color: #000000;
}
.GAMES_fusenL{
    grid-row: 1/2;
}
.GAMES_fusenL>div{
    padding: 0.1vw 0vw 0.1vw 0.5vw;
    margin: 0 3vw 0.5vw 0.1vw;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.GAMES_fusenR{
    grid-row: 2/3;
    align-self: end;
    margin-bottom: 1vw;
}
.GAMES_fusenR>div{
    grid-row: 2/3;
    text-align:end;
    padding: 0.1vw 0.5vw 0.1vw 0.5vw;
    margin: 0 0.4vw 0.5vw 3vw;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}


/* PHOTOS */
.PHOTOS {
    margin-bottom: 43vw; /* PHOTOSの縦幅確保 */
}
.PHOTOS>.line1 {
    margin-bottom: 7vw; /* PHOTOSの縦幅確保 */
}
.P_imageSet {
    width: 20%;
    float: left;
    overflow: hidden;
    display: block;
    margin: 0 2vw 2vw 2vw;
}
.P_pinImage {
    width: 15%;

    position: absolute;  /* チェキの兄弟要素になる */
    top: -10%;
    right: 50%;
    transform: translate(50%, 50%); 
}
.P_chekiImage {
    width: 100%;
}
.P_gameImage {
    width: 80%;
    border: 0.25vw solid #000000;
    top: 2vw;
    right: 0;
    left: 0;
    margin: auto;
}
.P_imageSet:hover {
    transition-duration: .4s;
    transform: scale(2.0);
    z-index: 20;
}

/* チームごとのゲーム画像の親子関係設定 */
.P_imageSet1 {
    margin-top: 7vw;
    margin-left: 7vw;
    transform: rotate(5deg) scale(1.3);
    position: relative;  /* ゲーム画像の親要素になる */
    left: 4vw;
    z-index: 11; /* 重なり順指定 */
}
.P_gameImage1 {
    position: absolute;  /* チェキの兄弟要素になる */
}
.P_imageSet2 {
    margin-top: 2vw;
    transform: rotate(-6deg) scale(1.5);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 35vw;
    z-index: 14; /* 重なり順指定 */
}
.P_gameImage2 {
    position: absolute;  /* チェキの兄弟要素になる */
}
.P_imageSet3 {
    margin-top: 10vw;
    transform: rotate(10deg) scale(1.7);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 62vw;
    z-index: 13; /* 重なり順指定 */
}
.P_gameImage3 {
    position: absolute;  /* チェキの兄弟要素になる */
}

.P_imageSet4 {
    margin-top: 5vw;
    transform: rotate(-7deg) scale(1.5);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 8vw;
    z-index: 11; /* 重なり順指定 */
}
.P_gameImage4 {
    position: absolute;  /* チェキの兄弟要素になる */
}
.P_imageSet5 {
    margin-top: -1vw;
    transform: rotate(7deg) scale(1.7);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 31vw;
    z-index: 12; /* 重なり順指定 */
}
.P_gameImage5 {
    position: absolute;  /* チェキの兄弟要素になる */
}
.P_imageSet6 {
    margin-top: 7vw;
    transform: rotate(-7deg) scale(1.7);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 65vw;
    z-index: 14; /* 重なり順指定 */
}
.P_gameImage6 {
    position: absolute;  /* チェキの兄弟要素になる */
}
.P_imageSet7 {
    margin-top: 20vw;
    transform: rotate(0deg) scale(1.25);
    position: absolute;  /* チェキ同士が重なれるように */    
    left: 45vw;
    z-index: 15; /* 重なり順指定 */
}
.P_gameImage7 {
    position: absolute;  /* チェキの兄弟要素になる */
}

/* 失敗跡地 */
/* .PHOTOS_images {
    overflow: visible;
}
.PHOTOS_image {
    width: 20%;
    height: auto;
    overflow: hidden;
    display: block;
    float: left;

    margin: 0 2vw 2vw 2vw;
}

.PHOTOS_image:hover {
    transition-duration: .4s;
    transform: scale(1.08);
}
.PHOTOS_image1 {
    // width: 20%;
    transform-origin: center center; // 回転軸を中央に
    transform: rotate(-10deg);
    margin-left: 5vw;
    position: relative;  // ゲーム画像の親要素になる
}
.PHOTOS_gameImage {
    width: 20%;
    position: absolute;  // ゲーム画像の子要素になる
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.PHOTOS_image2 {
    margin-left: 5vw;
    position: relative;  // ゲーム画像の親要素になる
}

.PHOTOS_image1 img {

}
.PHOTOS_image2 img {
    transform: rotate(5deg);
}
.PHOTOS_image3 img {
    transform: rotate(-10deg);
}
.PHOTOS_image4 img {
    transform: rotate(10deg);
}
.PHOTOS_image5 img {
    transform: rotate(-10deg);
}
.PHOTOS_image6 img {
    transform: rotate(-8deg);
}
.PHOTOS_image7 img {
    transform: rotate(-10deg);
} */

/* ニュース */
/* ボタン仮実装 */
.cp_box1 {
    position: relative;
  }
  .cp_box1 input {
    display: none;
  }
  /*開くためのボタンとテキストを隠すグラデーションの設定*/
  .cp_box1 label {
    /* .cp_box1の位置的な子要素に？ */
    position: absolute;
    /* 位置決定用？ */
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    bottom: -10px;  /* 隠れ表示ぶんの下方にボタンとグラデを表示？ */
    width: 100%;
    height: 140px; /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, #0b2b1c 90%);
  }
  /* 開いた時にグラデーションを消す */
  .cp_box1 input:checked + label {
    background: inherit;
  }
  /* .cp_box1 input:checked + label {
    display: none ; 閉じるボタンを消す場合コメントアウトを外す
  } */
  .cp_box1 .cp_container {
    overflow: hidden;
    height: 10vw; /* 開く前に見えている部分の高さ 元250px */
    transition: all 0.5s;
  }
  /*続きをよむボタン*/
  .cp_box1 label:after,
  .cp_box1 label::before {
    content: '';  /* これ何？ */
    position: absolute;
    line-height: 2.5rem;  /* 単位rem？ */
  }
  .cp_box1 label:after {
    z-index: 2;
    bottom: 20px;
    width: 13em;
    content: 'さらに表示';
    color: #ffffff;
    background: #3e4553;
    border-radius: 0px;
  }
  .cp_box1 label::before {
    position: absolute;
    bottom: 38px;
    left: calc(50% - 3.5em);
    z-index: 3;
    width: 10px;
    height: 5px;
    background: #ffffff;
    clip-path: polygon(50% 100%, 0 0, 100% 0)
  }
  /*閉じるボタン*/
  .cp_box1 input:checked + label:after {
    content: '閉じる';
  }
  .cp_box1 input:checked + label:before {
    left: calc(50% - 2.5em);
    transform: scale(1, -1);
  }
  .cp_box1 input:checked ~ .cp_container {
    height: auto;
    padding-bottom: 80px; /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
    color: #ffffff;
  }

/* 項目仮実装 */
.NEWS .line2 {
    margin-bottom: 2vw;
}
.NEWS_Text {
    display: block;
    padding: 0.1vw 1vw 0.1vw 1vw;
    font-size: min(3.0vw, 30px);

    background-color: #ffffff;
    box-shadow: 4px 4px 1px #a06959;
    margin: 0 3vw 2vw 3vw;
    color: #000000;
}
.NEWS_new{
    display:block;
    margin-top: -1.5vw !important;
    margin-bottom: 1vw !important;
    margin-left: 3vw;
    width: min-content;
    padding: 1vw 1vw 1vw 1vw;
    line-height: 2vw;
    font-size: 2.5vw;
    background-color: #a06959;
    color: #ffffff;
    text-align: center;
    position: relative;
    border-radius: 4px;
}
.NEWS_new::after{
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: solid 2vw transparent;
    border-top: solid 2vw #a06959;
    border-left: solid 1.5vw transparent;
    border-right: solid 1.5vw transparent; 
    transform: translate(-2.5vw,1.9vw); 
    content: "";
    z-index: -1;
}
.NEWS_Text ul {
    margin: 0;
    padding-left: min(8vw, 40px);
}
.NEWS div div {
    margin: 1vw;  /* 画像コンテンツと同じ余白だと空きすぎな気がして個別指定 */
    text-align: left;
    position: relative;
}
.NEWS div div::after{
    position: absolute;/**矢印の下に下線がなくなる**/
    color: #a06959;
    content: "→";
    right: 0;
}
.NEWS_hideText {
    display: none;
}
.NEWS_Text>a>div {
    border-bottom:1.5px solid #a06959;
}

/* 失敗跡地？ */
/* button.NEWS_moreButton {
    width: 120px;
    margin: 20px auto;
    display: block;
    background-color: #666;
    color: #fff;
    padding:10px 15px;
    border: none;
    outline: 0;
    transition: .5s;
    // -erbkit-transition: .5s; //
}
button.NEWS_moreButton::after {
    content: "さらに表示";
    transition: .2s;
    // -erbkit-transition: .2s; //
}
button.NEWS_moreButton.on-click::after{
    content: "閉じる";
} */

.PHOTOS {
    margin-top: 10vw;
}

/* 公式アカウント */
.SNS_icons {
    margin-top: 3vw;
    margin-left: 4vw;
    margin-bottom: 40vw;
}
.SNS_icon {
    width: min(12.5vw, 125px);
    margin: 0 7vw 0 0;
}
.SNS_icon:hover {
    transition-duration: .4s;
    transform: scale(1.5);
}

/* フッター画像のサイズ調整 */
.footer {
    width: 100%;
    position: fixed;  /* 固定表示 */
    bottom: 0px;     /* 画面下から20px */
    /* margin: 15vw 0 0 0; */
    border: 0;
    /* padding: 100px 0 0 0; */
    z-index: 1000;     /* ヘッダーや他の要素より前に表示されるように */
}
.footer img {
    width: 100%;
    display: block;
    margin: 0;
    border: 0;
    padding: 0;
    /* vertical-align: bottom; */
}
.game-icon {


    left: 20px;      /* 画面右から20px */
    /* width: 50px; */
    /* height: 50px; */
    /* background-color: rgb(255, 251, 45);  赤いアイコン（デモ用） */
    /* border-radius: 90%; */
}


/* float解除のために */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
